//package controller;
//
//import entity.Admin;
//import service.StudentService;
//
//import javax.servlet.ServletException;
//import javax.servlet.annotation.WebServlet;
//import javax.servlet.http.HttpServlet;
//import javax.servlet.http.HttpServletRequest;
//import javax.servlet.http.HttpServletResponse;
//import javax.servlet.http.HttpSession;
//import java.io.IOException;
//
//
//@WebServlet("/StudentController")
//public class StudentController extends HttpServlet {
//    private static final long serialVersionUID = 1L;
//    StudentService stuService=new StudentService();
//    /**
//     * @see HttpServlet#HttpServlet()
//     */
//    public StudentController() {
//        super();
//        // TODO Auto-generated constructor stub
//    }
//
//    /**
//     * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
//     */
//    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
////        String id123=request.getParameter("id111");
////        stuService.delStu(id123);
////        request.getRequestDispatcher("stulist").forward(request,response);
////        stuService.buy();
//
//    }
//
//
//
//    /**
//     * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
//     */
//    protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
//        // TODO Auto-generated method stub
//        doGet(request, response);
//    }
//
//}